Smartling\Services\ContentRelationsDiscoveryService C

Total Complexity 109
Dependencies 45
Dependents 3
Total lines 708
Lines of code 529
Logical lines of code 310
Comment lines 49
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
getRelations()
B
32 19 99
createSubmissions()
B
33 14 105
normalizeReferences()
A
44 15 45
getReferencesFromAcf()
A
50 10 28
bulkUpload()
A
42 8 55
clone()
S
45 6 45
getSources()
S
56 6 18
getReferencesFromGutenbergReplacementRules()
S
56 5 17
shortcodeHandler()
S
62 4 11
getPostContentReferences()
S
60 3 13
addFlattenedBlock()
S
60 3 12
getTaxonomiesForContentType()
S
64 3 10
addPostContentReferences()
S
58 2 14
extractFieldsFromShortcodes()
S
61 2 12
extractFieldsFromGutenbergBlocks()
S
66 2 8
getTitle()
S
64 2 9
getBackwardRelatedTaxonomies()
S
65 2 9
logSubmissionCreated()
S
64 1 11
storeWithJobInfo()
S
70 1 6
__construct()
S
91 1 2